home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / njfin112.arc / NJFIND.DOC < prev    next >
Text File  |  1990-03-01  |  16KB  |  351 lines

  1.  
  2.  
  3.                                                   _______
  4.                                              ____|__     |               (tm)
  5. Nifty James' File Find Utility            --|       |    |-------------------
  6. Version 1.12 of 13 February 1990            |   ____|__  |  Association of
  7. (C) Copyright 1989, 1990 by Mike Blaszczak  |  |       |_|  Shareware
  8. All Rights Reserved                         |__|   o   |    Professionals
  9.                                           -----|   |   |---------------------
  10.                                                |___|___|    MEMBER
  11.                                       
  12.      PURPOSE                         
  13.      -------
  14.      
  15.      NJFIND is a file-finder utility.  Users with large (or crowded) hard
  16.      disk drives will welcome NJFIND as a tool to find filenames based on
  17.      a wildcard specification.  NJFIND works across all directories of a
  18.      logical drive, and will even open ZIP, LZH, ZOO, PAK, and ARC files
  19. |    to check them for matching filenames.  NJFIND can also scan across
  20. |    different disk drives, if you so desire.
  21.      
  22.      
  23.      
  24.      FEATURES
  25.      --------
  26.      
  27.      NJFIND works with standard DOS file names.  The program will also
  28.      "open" several types of archive files.  These include the popular ZIP
  29.      and ARC formats, as well as the public domain ZOO and LZH formats.
  30.      NJFIND also can read PAK files.
  31.      
  32.      NJFIND runs quickly.  I have over two-hundred files stored with LHARC
  33.      on my hard drive, and I have over fifteen-hundred files on my hard
  34.      drive.  NJFIND will scan the entire drive in less than thirty
  35.      seconds.
  36.      
  37.      NJFIND requires less than twenty kilobytes of disk space.  Because
  38.      it uses standard DOS file input and output. Because it uses no
  39.      special trickery, the program should be compatible with protected
  40.      environments such as DesqView and Microsoft Windows.
  41.      
  42.      NJFIND has been tested successfully on an IBM Token Ring network using
  43.      Novell SFT Netware.
  44.      
  45.      
  46.      
  47.      
  48.      USAGE
  49.      -----
  50.      
  51.      You may use NJFIND to scan all of your hard drive and all archive
  52.      files by using the command followed by a filename.  For example:
  53.      
  54.         NJFIND GOOFY.TXT
  55.      
  56.      searches the current drive for the file GOOFY.TXT.  Should you wish,
  57.      you can have NJFIND run a drive other than the default drive.  To do
  58.      this, simply include a drive specification.  To look for GOOFY.TXT on
  59.      drive H, one would use the command
  60.      
  61.         NJFIND H:GOOFY.TXT
  62.      
  63.      If you are looking for a file with a name you can't specifically
  64.      remember, you may use wildcards in the filename given to NJFIND to
  65.      search the drives and files on your system.  If you knew that your
  66.      text file began with a G, for example, you might use
  67.      
  68.         NJFIND H:G*.TXT
  69.      
  70.      If you knew that you had called the file MODEL but couldn't remember
  71.      the extension it had,
  72.      
  73.         NJFIND MODEL.*
  74.      
  75.      would do the job.
  76.  
  77.      Note that NJFIND searches *all* archive files it notices, even
  78.      if they don't match the wildcard specification that you supply.
  79.      
  80.      If you have many of the supported archive files on your diskette, you
  81.      may be noticing that NJFIND runs a little slower.  If you are looking
  82.      only for "normal" DOS files, you can use the /N option to cause
  83.      NJFIND to search only DOS directories.  That would make the above
  84.      command look like this:
  85.      
  86.         NJFIND /N MODEL.*
  87.      
  88.      Since you might know that the file is not stored in an archive, you
  89.      can expidite the search by using /N.  Normally, NJFIND searches ZIP,
  90.      ARC, ZOO, PAK, and LZH files when it finds them.  You can switch off
  91.      these file choices individually, as well.  For example, to search for
  92.      NJFIND.C without looking in LZH or ZOO files, you may use
  93.      
  94.         NJFIND /O /L NJFIND.C
  95.      
  96.      The options and their related archive files are shown here:
  97.      
  98.         /A              Don't search throghh ARC files
  99.         /L              Don't search through LZH files
  100.         /O              Don't search through ZOO files
  101.         /P              Don't search through PAK files
  102.         /Z              Don't search through ZIP files
  103.      
  104.      You might notice that /N is simply a more convenient form for
  105.      using /A /L /O /P /Z.
  106.      
  107.      
  108.      If you'd like, you can have NJFIND print out messages as it traverses
  109.      your hard drive and checks files.  To do this, use the /D option to
  110.      display the filenames NJFIND searches through, as well as the ones it
  111.      finds.
  112.      
  113.      NJFIND is capable of displaying file directory information, as well. 
  114.      If you would like to see the last modification date and time as well
  115.      as the attributes and size of found files, use the /V option.  /V
  116.      stands for "verbose mode".
  117.      
  118.      It is often handy to have just a total of file information.  For
  119.      example, you might want to see how many .GIF files are on your hard
  120.      disk, and how much room they're taking up.  You can use the /T option
  121.      to have NJFIND print out only the totals information, instead of also
  122.      displaying the name and location of all the found files.
  123.      
  124.      Our example with .GIF files might look like this:
  125.      
  126.         NJFIND /T *.GIF
  127.  
  128.      When NJFIND prints out the number of files found, the number
  129.      indicates the number of files that were not in archives.  If any
  130.      files were "inside" of archives, NJFIND will note that number of
  131.      files with "archived files".
  132.  
  133.      If you ran NJFIND and it printed, for example,
  134.  
  135.         6 files found.
  136.         18 archive files found.
  137.  
  138.      it would mean that NJFIND came across 24 files that matched your
  139.      specification.  Six of these files were regular DOS files, but
  140.      eighteen of the files were actually inside archive files.
  141.  
  142. |    NJFIND will search through archive files if it finds them and
  143. |    recognizes them by their extension.  Notice that, if you have an
  144. |    archive file and it doesn't have the normal file extension, the
  145. |    file won't be checked by NJFIND.
  146.      
  147.      If you find yourself confused about NJFIND's options, you can run
  148.      NJFIND without any options and it will show you a display of the
  149.      usage information.  NJFIND will also do this if you try to use an
  150.      option it doesn't recognize.
  151.  
  152.      If you're running NJFIND and realize something's wrong (or you
  153.      have a huge disk and ge tired of waiting), you can use <CTRL+C> or
  154.      <CTRL+BREAK> to stop the program.  NJFIND will tell you what
  155.      it's found so far, and then leave you at the DOS prompt.
  156.  
  157. |    Edward Mendelson wrote to me on CompuServe and suggested that I
  158. |    provide an option to allow the program to search through all the
  159. |    drives attached to a system.  This was a pretty good idea and
  160. |    I have implemented it in Release 1.10.  If you use the /R
  161. |    option, NJFIND will go through all of the drives looking for
  162. |    your file.  If the filespec you provide contains a drive
  163. |    specification, it will be ignored.  NJFIND searches your drives
  164. |    in alphabetical order, starting with your first hard disk drive
  165. |    or RAM disk, such as NJRAMD.  NJFIND does not search floppy
  166. |    drives in this mode.
  167.  
  168. |    Both Edward and Heward Hane noticed that NJFIND occasionally
  169. |    printed out that a archive file was found in the target file;
  170. |    that is, the file found message was ocassionally reversed.  This
  171. |    problem has been fixed in Release 1.10.
  172.  
  173. |    Edward Mendelson noticed a problem matching spurious filenames
  174. |    in this release.  The rub was that NJFIND would match files
  175. |    shorter than the wildcarded filespec, but only when the wildcard
  176. |    didn't extend into the actual filename.  (Whew!)  Again, hats
  177. |    off to Edward, who seemingly doesn't sleep when our world has
  178. |    buggy software!
  179.      
  180.      
  181.      LEGAL JUNK
  182.      ----------
  183.      
  184.      ARC is a file format and a file compression program developed and
  185.      sold by System Enhancement Associates.  ZIP is a file format and file
  186.      compression program developed and provided by Phil Katz of PKWare. 
  187.      LZH is a public-domain file format manipulated by the program LHARC,
  188.      among others.  ZOO is another public-domain file format for the
  189.      compression and archival of data.
  190.      
  191.      NJFIND probably would not have been possible without the BRIEF
  192.      programming editor from Underware.  If you program in any language
  193.      under MS-DOS or OS/2, give BRIEF a look!  BRIEF is marketed by
  194.      Solution Systems, but written by Underware.
  195.      
  196.      
  197.      
  198.      SOURCE CODE
  199.      -----------
  200.      
  201.      The archive or disk which brought you NJFIND should also include the
  202.      sourcecode and make files for the program.  If you're not a
  203.      programmer, you probably won't be much interested in what makes
  204.      NJFIND go.  However, if you are a coder, you may enjoy perusing the
  205.      file NJFIND.C.
  206.      
  207.      NJFIND was written completely in Microsoft C Version 5.10.  You can
  208.      use the MAKE utility supplied in the Microsoft C package to build the
  209.      program.  NJFIND. makes the standard program and NJFINDD. makes the
  210.      debugging version.  This debugging version spews out extra information
  211.      about the progress that NJFIND is making, as well as some information
  212.      about the internals that NJFIND uses to compare files and traverse
  213.      the directory structure.
  214.      
  215. |    I am certain that NJFIND will not compile in the QuickC interactive
  216. |    environment, but it may compile with the QCL command-line compiler.
  217. |    I know nothing of NJFIND's compatibility with Borland's Turbo C
  218. |    product, but I also know for certain that NJFIND will not compile
  219. |    as-is on the Lattice C Compiler, Version 6.01.   At least a few of
  220. |    the runtime library call names must be changed.
  221.      
  222.      
  223.      
  224.      
  225.      COMPATIBILITY
  226.      -------------
  227.      
  228.      NJFIND has been tested with these products:
  229.      
  230. |       Phil Katz/PKWare                PKZIP   Version 1.02
  231.         Haruyasu Yoshizaki              LHARC   Version 1.13B
  232.         Phil Katz/PKWare                PKARC   Version 3.5
  233.         System Enhancement Associates   ARC     Version 6.00
  234.         NoGate Consulting               PAK     Version 2.10
  235.         Rahul Dhesi                     ZOO     Version 2.01
  236.         
  237.      If you're using an older version of an archiver product, please
  238.      contact the author of that product about getting an upgrade.  I can
  239.      not obtain older versions, and thus can't guarantee (and frankly
  240.      don't see a need for) backward compatibility.
  241.      
  242.      If you have a newer version of one of these packages and notice that
  243.      NJFIND doesn't seem to be working correctly, please do send me a
  244.      note.  I will be very interested in fixing NJFIND promptly to handle
  245.      newer file compression programs.
  246.      
  247.      
  248.      
  249.      REFERENCES
  250.      ----------
  251.      
  252.      I used Phil Katz's APPNOTE file, which is distributed with the
  253.      PKZ101.EXE self-extracting Shareware version of his software.  This
  254.      file had great descriptions of the data structures used in ZIP files.
  255.      
  256.      For ARC, I hacked around in the file and discovered the relatively
  257.      simple file structure for myself.  Since NJFIND doesn't need much
  258.      information from the file, this was relatively easy.
  259.      
  260.      The LHARC files were dissected by examining the sourcecode for the
  261.      package, as found in the LHARCSRC.LZH file in a few places.  As with
  262.      the Phil Katz program, the availability of sourcecode and
  263.      documentation made developing the pertinent sections of NJFIND a
  264.      snap.
  265.      
  266.      Information for the PAK file format came from the "Technical Notes"
  267.      section of PAK.DOC, which I found as part of PAK210.EXE on a local
  268.      bulletin-board system.
  269.      
  270.      The ZOO file format was another one that I had to hack apart myself,
  271.      since Rahul Dhesi didn't see fit to put a description of the file
  272.      format in his Shareware distribution package.  (This seems odd to me.
  273.      He set things up with .MAN files and made documentation that
  274.      resembles traditional Unix man files, but he didn't include file
  275.      format manual pages ... most Unix systems (or at least SunOS) does
  276.      this.  Oh, well.)  Of the five, this was the format that was a bear to
  277.      figure out, but I eventually got it down.
  278.      
  279.      
  280.      
  281.      AVAILABILTY
  282.      -----------
  283.      
  284.      Should you be interested in any enhancements, changes, or a
  285.      customized version of NJFIND, please do not hesitate to drop me a
  286.      line.  I am occasionally avaialable for customized programming
  287.      projects on a by-contract basis.  Should you have the need for solid
  288.      software in the IBM-PC or Unix enviroments, please do feel free to
  289.      contact me.
  290.      
  291.      
  292.      
  293.      
  294.      REGISTRATION
  295.      ------------
  296.  
  297.      This program is produced by a member of the Association of
  298.      Shareware Professionals (ASP).  ASP wants to make sure that the
  299.      shareware principle works for you. If you are unable to resolve
  300.      a shareware-related problem with an ASP member by contacting the
  301.      member directly, ASP may be able to help. The ASP Ombudsman can
  302.      help you resolve a dispute or problem with an ASP member, but
  303.      does not provide technical support for members' products. Please
  304.      write to the ASP Ombudsman at P.O. Box 5786, Bellevue, WA 98006
  305.      or send a CompuServe message via EasyPlex to ASP Ombudsman
  306.      70007,3536.
  307.      
  308.      NJFIND is a work of Shareware.  If you use the program, please
  309.      register your copy.  This will expidite your receipt of future
  310.      versions and also net you a nice letter in return.
  311.      
  312.      While you may have purchased NJFIND through the mail, paying the
  313.      distribution house for the diskette DOES NOT register the program! 
  314.      The same is true with copies attained from online systems and user
  315.      group libraries.
  316.      
  317.      If you are interested in redistributing or republishing NJFIND,
  318.      please contact me at my address below.  You will find that getting
  319.      permission to do so is remarkably easy, if your intent is kosher.
  320.      
  321.      To register your copy, please send a registration fee of $10 to my
  322.      address below.  You will be added to my mailing list for this
  323.      program, receive a list of my other releases, and be eligible to
  324.      upgrade NJFIND for one dollar, should a new version become available.
  325.      
  326.      Thank you for your interest!
  327.      
  328.      
  329.      Mike Blaszczak
  330.      112 Verlinden Drive
  331.      Monroeville, Pennsylvania
  332.         15146-2041
  333.      
  334.      
  335.  
  336.      You can also reach me at any of these electronic hangouts:
  337.  
  338.      BIX                      : blaszczak
  339.      EasyPlex on CompuServe   : 76360,157
  340.      GEnie Mail               : M.BLASZCZAK
  341.      PARTICIPATE on NWI       : NIFTY JAMES
  342.      PARTICIPATE on Unison    : NIFTY JAMES
  343.  
  344.      If I'm not online, I'm either travelling on my motorcycle
  345.      through the beautiful New England countryside or attending a
  346.      performance of live music somewhere.  (Please note that my
  347.      access to PARTICIPATE on CompuServe has been removed
  348.      indefinitely, as it appears that CompuServe refuses to support
  349.      The PARTICIPATE Conferencing system as a product.)
  350.  
  351.